html {
    overflow: hidden !important;
}

body {
    background: url("../image/bg.png") !important;
}

.m-padding-0-important {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/*------------设置上下边距------------*/
.m-padded-mini {
    padding: 0.2em !important;
}

/*------------设置上下边距------------*/
.m-padding-tb-0px {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.m-padding-tb-mini {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

.m-padding-tb-0-3em {
    padding-top: 0.3em !important;
    padding-bottom: 0.3em !important;
}

.m-padding-tb-tiny {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

.m-padding-tb-0-8em {
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;
}

.m-padding-tb-small {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

.m-padding-tb {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

.m-padding-tb-big {
    padding-top: 3em !important;
    padding-bottom: 3em !important;
}

.m-padding-tb-2-em {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

.m-padding-lr-2em {
    padding-left: 2em !important;
    padding-right: 2em !important;
}

.m-padding-lr-3em {
    padding-left: 3em !important;
    padding-right: 3em !important;
}

.m-padding-lr-4em {
    padding-left: 4em !important;
    padding-right: 4em !important;
}

.m-padding-lr-4em-responsive {
    padding-left: 4em !important;
    padding-right: 4em !important;
}


/*------------- 外边距 -----------------*/
.m-margin-tb-small {
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}

.m-margin-0-2-em {
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}

.m-margin-0-3-em {
    margin-top: 0.3em !important;
    margin-bottom: 0.3em !important;
}

.m-margin-0-5-em {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
}

.m-margin-tb-2-em {
    margin-top: 2em !important;
    margin-bottom: 2em !important;
}

.m-margin-tb-3-em {
    margin-top: 3em !important;
    margin-bottom: 3em !important;
}


/*--------------- 阴影 -------------------*/
.m-shadow-small {
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/*------------- 字体相关 -----------------*/
/* 将空间放置在左上角 */
.m-right-top {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

/*------------- 字体相关 -----------------*/
/* 字体宽度 */
.m-text-thin {
    font-weight: 300 !important;
}

.m-text-thin-900 {
    font-weight: 900 !important;
}

.m-font-size-1em {
    font-size: 1em !important;
}

.m-font-size-1-2em {
    font-size: 1.2em !important;
}

.m-font-size-2em {
    font-size: 2em !important;
}

/* 字体大小 */
.m-font-size-20px {
    font-size: 20px !important;
}

.m-font-size-22px {
    font-size: 22px !important;
}

/* 字间距 */
.m-text-spaced-nimi {
    letter-spacing: 1px !important;
}

.m-text-spaced {
    letter-spacing: 2px !important;
}

/* 行高度 */
.m-text-lined {
    line-height: 1.2 !important;
}

/* 字体透明度 */
.m-opacity-mini {
    opacity: 0.8 !important;
}

.m-opacity-tiny {
    opacity: 0.9 !important;
}

/* 字体颜色 */
.m-text-color-blank {
    color: #333 !important;
}

/* 禁止换行 */
.white-space {
    white-space: nowrap;
}

/* 限制文字宽度并将多余的文字省略 */
.font-limit-length-75px {
    max-height: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.font-limit-length-120px {
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/*-------------设置为行内元素--------------*/
.m-inline-block {
    display: inline-block !important;
}

/*-------------手机适配相关--------------*/
/* 菜单按钮在pc端不显示 */
.m-mobile-show {
    display: none !important;
}


@media screen and (max-width: 768px) {

    /* 菜单按钮在pc端显示 */
    .m-mobile-show {
        display: block !important;
    }

    /* 控制菜单项的显示 */
    .m-mobile-hide {
        display: none !important;
    }

    /* 控制博客页面的文章宽度 */
    .m-padding-lr-4em-responsive {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .m-padding-lr-4em {
        padding-left: 1.5em !important;
        padding-right: 1.5em !important;
    }

    /* 控制发表按键在手机端事左右填充屏幕 */
    .m-mobile-wide {
        width: 100% !important;
    }

    .m-mobile-search {
        padding: 5px;
        margin-bottom: 5px !important;
        display: flex;
        align-items: flex-start;
    }

}

/* ---------------容器相关 container----------------- */
/* 设置顶部导航栏的宽度 */
.m-container {
    max-width: 72em !important;
    margin: auto !important;
}
